package com.ruoyi.system.service.h5;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.dto.ExchangeDTO;
import com.ruoyi.system.domain.dto.RechargeDTO;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @author :liding
 * @date : 2023/11/14 11:29
 */
public interface IRechargeService {
    /**
     * 微信充值
     * @param body
     * @return
     */
    AjaxResult recharge(RechargeDTO body);

    /**
     * 微信回调
     * @param request
     * @return
     */
    String callback(HttpServletRequest request);
    /**
     * 激活码核销
     * @param body
     * @return
     */
    AjaxResult exchange(ExchangeDTO body);
}
